ScssPhp\ScssPhp\Parser\StylesheetParser D

Total Complexity 915
Dependencies 78
Dependents 0
Total lines 4,452
Lines of code 2,763
Logical lines of code 2,099
Comment lines 753
Methods 113
Properties 12

Methods 113

Method Rating Maintainability Complexity Lines of code
expression()
D
1
148 363
singleExpression()
D
25
80 103
interpolatedDeclarationValue()
D
28
42 124
declarationOrBuffer()
C
34 26 85
almostAnyValue()
C
37 24 73
atRule()
C
39 24 62
containsCalculationInterpolation()
B
42 18 52
lookingAtExpression()
B
50 19 26
identifierLike()
B
41 16 55
tryUrlContents()
A
45 16 39
tryImportModifiers()
A
43 15 50
mediaInParens()
A
44 15 47
functionChild()
A
44 15 42
trySpecialFunction()
A
44 14 46
propertyOrVariableDeclaration()
A
43 14 46
mozDocumentRule()
A
40 13 60
argumentInvocation()
A
44 14 45
supportsConditionInParens()
A
40 12 59
calculationValue()
A
45 13 41
interpolatedString()
A
46 12 39
functionRule()
A
50 12 28
unicodeRange()
A
47 11 37
mediaQuery()
A
44 10 52
declarationAtRule()
A
50 11 28
statement()
A
53 11 23
lookingAtInterpolatedIdentifier()
A
53 11 23
variableDeclarationWithoutNamespace()
A
45 9 42
tryExponent()
A
55 10 20
interpolatedIdentifierBody()
A
56 10 17
parentheses()
A
47 8 41
interpolatedIdentifier()
A
51 8 27
includeRule()
A
47 7 36
number()
A
54 8 20
isHexColor()
A
57 8 16
trySupportsOperation()
S
50 7 30
argumentDeclaration()
S
48 6 36
calculationSum()
S
55 7 20
tryCalculation()
S
53 6 23
importArgument()
S
53 6 22
forRule()
S
50 5 32
calculationArguments()
S
57 6 16
isPlainImportUrl()
S
58 6 15
hexColorContents()
S
51 5 27
supportsCondition()
S
53 5 25
hashExpression()
S
53 5 22
mixinRule()
S
55 5 19
calculationProduct()
S
57 5 18
tryDecimal()
S
59 5 15
importRule()
S
59 5 14
extendRule()
S
60 5 12
declarationOrStyleRule()
S
62 5 11
parse()
S
54 4 21
unknownAtRule()
S
55 4 19
importSupportsQuery()
S
56 4 18
variableDeclarationOrInterpolation()
S
57 4 17
variableDeclarationOrStyleRule()
S
59 4 16
lookingAtInterpolatedIdentifierBody()
S
63 5 10
unaryOperation()
S
59 4 13
unaryOperatorFor()
S
63 4 12
minusExpression()
S
63 4 11
ifRule()
S
53 3 24
atRootQuery()
S
55 3 21
map()
S
57 3 18
styleRule()
S
57 3 17
atRootRule()
S
58 3 16
supportsDeclarationValue()
S
64 4 9
isSlashOperand()
S
77 4 3
tryImportSupportsFunction()
S
58 3 15
mediaQueryList()
S
60 3 14
mediaLogicSequence()
S
62 3 13
selector()
S
61 3 12
eachRule()
S
57 2 18
hexDigit()
S
67 3 7
consumeNaturalNumber()
S
67 3 8
parseArgumentDeclaration()
S
59 2 15
plusExpression()
S
66 3 8
contentRule()
S
64 3 9
expressionUntilComparison()
S
65 3 9
parseImportUrl()
S
68 3 7
namespacedExpression()
S
63 2 11
singleInterpolation()
S
63 2 11
declarationChild()
S
71 2 6
mediaOrInterp()
S
66 2 8
variable()
S
66 2 8
dynamicUrl()
S
64 2 9
tryCalculationInterpolation()
S
78 2 3
assertPublic()
S
71 2 6
isRootRelativeUrl()
S
77 2 3
atEndOfStatement()
S
100 1 0
expectStatementSeparator()
S
100 1 0
styleRuleSelector()
S
100 1 0
getCurrentIndentation()
S
100 1 0
isPlainCss()
S
82 1 3
lookingAtChildren()
S
100 1 0
isIndented()
S
100 1 0
scanElse()
S
100 1 0
publicIdentifier()
S
67 1 8
children()
S
100 1 0
withChildren()
S
70 1 6
__construct()
S
69 1 6
importantExpression()
S
66 1 8
expressionUntilComma()
S
73 1 5
disallowedAtRule()
S
76 1 4
whileRule()
S
65 1 9
warnRule()
S
72 1 5
supportsRule()
S
68 1 7
returnRule()
S
72 1 5
mediaRule()
S
70 1 6
errorRule()
S
72 1 5
debugRule()
S
72 1 5
plainAtRuleName()
S
71 1 6
variableDeclarationWithNamespace()
S
70 1 6
statements()
S
100 1 0